package com.emergency.common.dao;

import com.emergency.common.entity.SysLogEntity;
import com.emergency.common.vo.ChartVO;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 系统日志
 *
 * @author:lijie
 * @date :2019/09/06 22:22
 * SysLogMapper.java
 */
@MapperScan
@Component
public interface SysLogMapper extends BaseMapper<SysLogEntity> {

    int batchRemoveAll(Integer type);

    int countTotalVisit();

    int countTodayVisit();

    List<ChartVO> listCountLastWeekVisit();
}
